﻿using System.Collections.Generic;

namespace Acme.BookStore.Navigates
{
    public class StudentDto
    {
        public int StudentId { get; set; }

        // public int SchoolId { get; set; }
        public string Name { get; set; }

        public SchoolDto School { get; set; }
        public List<StuBookDto> Books { get; set; }
    }

    public class SchoolDto
    {
        public int SchoolId { get; set; }
        public string SchoolName { get; set; }
        public List<RoomDto> RoomList { get; set; }
        public List<TeacherDto> TeacherList { get; set; }
    }

    public class RoomDto
    {
        public int RoomId { get; set; }
        public string RoomName { get; set; }
        // public int SchoolId { get; set; }
    }

    public class TeacherDto
    {
        public int Id { get; set; }

        // public int SchoolId { get; set; }
        public string Name { get; set; }
    }

    public class StuBookDto
    {
        public int BookId { get; set; }

        public string Name { get; set; }
        public int StudenId { get; set; }
    }
}